package com.ssy.lingxi.order.api.model.vo.response;

import java.io.Serializable;

/**
 * 查询平台规则配置返回
 * @author 万宁
 * @version 2.0.0
 * @date 2021-12-16
 */
public class OrderRuleDetailVO implements Serializable {
    private static final long serialVersionUID = 2891386300412119837L;

    public OrderRuleDetailVO() {
    }

    public OrderRuleDetailVO(Integer ruleType, String ruleName, Integer methodCode, String methodName, Integer status) {
        this.ruleType = ruleType;
        this.ruleName = ruleName;
        this.methodCode = methodCode;
        this.methodName = methodName;
        this.status = status;
    }

    /**
     * 规则类型，定义在 PlatformRuleTypeEnum 中
     */
    private Integer ruleType;

    /**
     * 规则类型名称
     */
    private String ruleName;

    /**
     * 规则方式，定义在多个枚举中，请参考 system-service 初始化配置
     */
    private Integer methodCode;

    /**
     * 规则方式名称
     */
    private String methodName;

    /**
     * 状态，0-停用，1-启用
     */
    private Integer status;

    public Integer getRuleType() {
        return ruleType;
    }

    public void setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    public Integer getMethodCode() {
        return methodCode;
    }

    public void setMethodCode(Integer methodCode) {
        this.methodCode = methodCode;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
